#ifndef _MULTI_LOG_H_
#define _MULTI_LOG_H_
#include <string>
#include <map>
using namespace std;

namespace Zen{namespace utility{

class simple_log;

class multi_log
{
public:
	multi_log( string name);
	~multi_log();

	void operator()(char* fmt, ...);

	void operator()(wchar_t* fmt, ...);

	static map<string, simple_log*> logs;

private:
	string name_;
};

#define PrintLog multi_log

void close_log();

}}
#endif // _LOG_H_